Description: fix FTBFS with OpenSSL 1.0
Author: Luca Falavigna <dktrkranz@debian.org>
Bug: https://code.google.com/p/wvstreams/issues/detail?id=27
Bug-Debian: http://bugs.debian.org/621990
Forwarded: no
Last-Update: 2013-10-30

--- a/crypto/wvx509.cc
+++ b/crypto/wvx509.cc
@@ -1157,7 +1157,7 @@
         
         if (ext)
         {
-            X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
+            X509V3_EXT_METHOD *method = (X509V3_EXT_METHOD *)X509V3_EXT_get(ext);
             if (!method)
             {
                 WvDynBuf buf;
